import express from 'express';
import * as Register from './user_reg';
import { user } from '../../router_handler/user_handler/user_handler';

export const userRouter = express.Router();

userRouter.post('/regUser', Register.regUserRegister, user.regUser);
userRouter.post('/loginUser', Register.loginUserRegister, user.loginUser);
userRouter.get('/logoutUser', user.logoutUser);